package com.wd.tw.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wd.common.annotation.Excel;
import com.wd.common.core.domain.BaseEntity;

/**
 * 电梯信息对象 elevator_info
 * 
 * @author liumingkun
 * @date 2024-12-19
 */
public class ElevatorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 电梯Id */
    private Long elevatorId;

    /**
     *  电梯信号Id,用于计算电梯运行次数
     */
    private Long signalId;

    /**
     * 用于计算电梯人数
     */
    private Long cameraId;

    private boolean signalState;

    /** 电梯名称 */
    @Excel(name = "电梯名称")
    private String elevatorName;

    public void setElevatorId(Long elevatorId) 
    {
        this.elevatorId = elevatorId;
    }

    public Long getElevatorId() 
    {
        return elevatorId;
    }
    public void setElevatorName(String elevatorName) 
    {
        this.elevatorName = elevatorName;
    }

    public String getElevatorName() 
    {
        return elevatorName;
    }

    public Long getSignalId() {
        return signalId;
    }

    public void setSignalId(Long signalId) {
        this.signalId = signalId;
    }

    public Long getCameraId() {
        return cameraId;
    }

    public void setCameraId(Long cameraId) {
        this.cameraId = cameraId;
    }

    public boolean getSignalState() {
        return signalState;
    }

    public void setSignalState(boolean signalState) {
        this.signalState = signalState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("elevatorId", getElevatorId())
            .append("elevatorName", getElevatorName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
